package ooExercise.ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("花花", "白", 4, "骨头");
        dog.eat();
        dog.lookHome();
        dog.run();
        dog.drink();

        Cat cat=new Cat("吞吞","粉",4,"鱼");
        cat.run();
        cat.eat();
        cat.drink();
        cat.eat();

        Pig pig=new Pig("坤坤","黑",99,"剩饭");
        pig.run();
        pig.drink();
        pig.eat();

    }
}
